Optimal. Leaf size=118 \[ -\frac {d^5}{b^2 x}+\frac {e^4 (5 c d-2 b e) x}{c^3}+\frac {e^5 x^2}{2 c^2}-\frac {(c d-b e)^5}{b^2 c^4 (b+c x)}-\frac {d^4 (2 c d-5 b e) \log (x)}{b^3}+\frac {(c d-b e)^4 (2 c d+3 b e) \log (b+c x)}{b^3 c^4} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.10, antiderivative size = 118, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 1, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.053, Rules used = {712}
\begin {gather*} \frac {(c d-b e)^4 (3 b e+2 c d) \log (b+c x)}{b^3 c^4}-\frac {d^4 \log (x) (2 c d-5 b e)}{b^3}-\frac {(c d-b e)^5}{b^2 c^4 (b+c x)}-\frac {d^5}{b^2 x}+\frac {e^4 x (5 c d-2 b e)}{c^3}+\frac {e^5 x^2}{2 c^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 712
Rubi steps
\begin {align*} \int \frac {(d+e x)^5}{\left (b x+c x^2\right )^2} \, dx &=\int \left (\frac {e^4 (5 c d-2 b e)}{c^3}+\frac {d^5}{b^2 x^2}+\frac {d^4 (-2 c d+5 b e)}{b^3 x}+\frac {e^5 x}{c^2}-\frac {(-c d+b e)^5}{b^2 c^3 (b+c x)^2}+\frac {(-c d+b e)^4 (2 c d+3 b e)}{b^3 c^3 (b+c x)}\right ) \, dx\\ &=-\frac {d^5}{b^2 x}+\frac {e^4 (5 c d-2 b e) x}{c^3}+\frac {e^5 x^2}{2 c^2}-\frac {(c d-b e)^5}{b^2 c^4 (b+c x)}-\frac {d^4 (2 c d-5 b e) \log (x)}{b^3}+\frac {(c d-b e)^4 (2 c d+3 b e) \log (b+c x)}{b^3 c^4}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.04, size = 116, normalized size = 0.98 \begin {gather*} -\frac {d^5}{b^2 x}+\frac {e^4 (5 c d-2 b e) x}{c^3}+\frac {e^5 x^2}{2 c^2}+\frac {(-c d+b e)^5}{b^2 c^4 (b+c x)}+\frac {d^4 (-2 c d+5 b e) \log (x)}{b^3}+\frac {(c d-b e)^4 (2 c d+3 b e) \log (b+c x)}{b^3 c^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.46, size = 200, normalized size = 1.69
method | result | size |
default | \(-\frac {e^{4} \left (-\frac {1}{2} c e \,x^{2}+2 b e x -5 c d x \right )}{c^{3}}+\frac {\left (3 b^{5} e^{5}-10 b^{4} c d \,e^{4}+10 b^{3} c^{2} d^{2} e^{3}-5 b \,c^{4} d^{4} e +2 c^{5} d^{5}\right ) \ln \left (c x +b \right )}{c^{4} b^{3}}-\frac {-b^{5} e^{5}+5 b^{4} c d \,e^{4}-10 b^{3} c^{2} d^{2} e^{3}+10 b^{2} c^{3} d^{3} e^{2}-5 b \,c^{4} d^{4} e +c^{5} d^{5}}{b^{2} c^{4} \left (c x +b \right )}-\frac {d^{5}}{b^{2} x}+\frac {d^{4} \left (5 b e -2 c d \right ) \ln \left (x \right )}{b^{3}}\) | \(200\) |
norman | \(\frac {-\frac {d^{5}}{b}+\frac {e^{5} x^{4}}{2 c}-\frac {e^{4} \left (3 b e -10 c d \right ) x^{3}}{2 c^{2}}-\frac {\left (3 b^{5} e^{5}-10 b^{4} c d \,e^{4}+10 b^{3} c^{2} d^{2} e^{3}-10 b^{2} c^{3} d^{3} e^{2}+5 b \,c^{4} d^{4} e -2 c^{5} d^{5}\right ) x^{2}}{b^{3} c^{3}}}{x \left (c x +b \right )}+\frac {\left (3 b^{5} e^{5}-10 b^{4} c d \,e^{4}+10 b^{3} c^{2} d^{2} e^{3}-5 b \,c^{4} d^{4} e +2 c^{5} d^{5}\right ) \ln \left (c x +b \right )}{c^{4} b^{3}}+\frac {d^{4} \left (5 b e -2 c d \right ) \ln \left (x \right )}{b^{3}}\) | \(211\) |
risch | \(\frac {e^{5} x^{2}}{2 c^{2}}-\frac {2 e^{5} b x}{c^{3}}+\frac {5 e^{4} d x}{c^{2}}+\frac {\frac {\left (b^{5} e^{5}-5 b^{4} c d \,e^{4}+10 b^{3} c^{2} d^{2} e^{3}-10 b^{2} c^{3} d^{3} e^{2}+5 b \,c^{4} d^{4} e -2 c^{5} d^{5}\right ) x}{b^{2} c}-\frac {c^{3} d^{5}}{b}}{c^{3} x \left (c x +b \right )}+\frac {5 d^{4} \ln \left (x \right ) e}{b^{2}}-\frac {2 d^{5} \ln \left (x \right ) c}{b^{3}}+\frac {3 b^{2} \ln \left (-c x -b \right ) e^{5}}{c^{4}}-\frac {10 b \ln \left (-c x -b \right ) d \,e^{4}}{c^{3}}+\frac {10 \ln \left (-c x -b \right ) d^{2} e^{3}}{c^{2}}-\frac {5 \ln \left (-c x -b \right ) d^{4} e}{b^{2}}+\frac {2 c \ln \left (-c x -b \right ) d^{5}}{b^{3}}\) | \(248\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 209, normalized size = 1.77 \begin {gather*} -\frac {b c^{4} d^{5} + {\left (2 \, c^{5} d^{5} - 5 \, b c^{4} d^{4} e + 10 \, b^{2} c^{3} d^{3} e^{2} - 10 \, b^{3} c^{2} d^{2} e^{3} + 5 \, b^{4} c d e^{4} - b^{5} e^{5}\right )} x}{b^{2} c^{5} x^{2} + b^{3} c^{4} x} - \frac {{\left (2 \, c d^{5} - 5 \, b d^{4} e\right )} \log \left (x\right )}{b^{3}} + \frac {c x^{2} e^{5} + 2 \, {\left (5 \, c d e^{4} - 2 \, b e^{5}\right )} x}{2 \, c^{3}} + \frac {{\left (2 \, c^{5} d^{5} - 5 \, b c^{4} d^{4} e + 10 \, b^{3} c^{2} d^{2} e^{3} - 10 \, b^{4} c d e^{4} + 3 \, b^{5} e^{5}\right )} \log \left (c x + b\right )}{b^{3} c^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 343 vs.
\(2 (119) = 238\).
time = 3.76, size = 343, normalized size = 2.91 \begin {gather*} -\frac {4 \, b c^{5} d^{5} x - 10 \, b^{2} c^{4} d^{4} x e + 2 \, b^{2} c^{4} d^{5} + 20 \, b^{3} c^{3} d^{3} x e^{2} - 20 \, b^{4} c^{2} d^{2} x e^{3} - {\left (b^{3} c^{3} x^{4} - 3 \, b^{4} c^{2} x^{3} - 4 \, b^{5} c x^{2} + 2 \, b^{6} x\right )} e^{5} - 10 \, {\left (b^{3} c^{3} d x^{3} + b^{4} c^{2} d x^{2} - b^{5} c d x\right )} e^{4} - 2 \, {\left (2 \, c^{6} d^{5} x^{2} + 2 \, b c^{5} d^{5} x + 3 \, {\left (b^{5} c x^{2} + b^{6} x\right )} e^{5} - 10 \, {\left (b^{4} c^{2} d x^{2} + b^{5} c d x\right )} e^{4} + 10 \, {\left (b^{3} c^{3} d^{2} x^{2} + b^{4} c^{2} d^{2} x\right )} e^{3} - 5 \, {\left (b c^{5} d^{4} x^{2} + b^{2} c^{4} d^{4} x\right )} e\right )} \log \left (c x + b\right ) + 2 \, {\left (2 \, c^{6} d^{5} x^{2} + 2 \, b c^{5} d^{5} x - 5 \, {\left (b c^{5} d^{4} x^{2} + b^{2} c^{4} d^{4} x\right )} e\right )} \log \left (x\right )}{2 \, {\left (b^{3} c^{5} x^{2} + b^{4} c^{4} x\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 381 vs.
\(2 (110) = 220\).
time = 2.20, size = 381, normalized size = 3.23 \begin {gather*} x \left (- \frac {2 b e^{5}}{c^{3}} + \frac {5 d e^{4}}{c^{2}}\right ) + \frac {- b c^{4} d^{5} + x \left (b^{5} e^{5} - 5 b^{4} c d e^{4} + 10 b^{3} c^{2} d^{2} e^{3} - 10 b^{2} c^{3} d^{3} e^{2} + 5 b c^{4} d^{4} e - 2 c^{5} d^{5}\right )}{b^{3} c^{4} x + b^{2} c^{5} x^{2}} + \frac {e^{5} x^{2}}{2 c^{2}} + \frac {d^{4} \cdot \left (5 b e - 2 c d\right ) \log {\left (x + \frac {- 5 b^{2} c^{3} d^{4} e + 2 b c^{4} d^{5} + b c^{3} d^{4} \cdot \left (5 b e - 2 c d\right )}{3 b^{5} e^{5} - 10 b^{4} c d e^{4} + 10 b^{3} c^{2} d^{2} e^{3} - 10 b c^{4} d^{4} e + 4 c^{5} d^{5}} \right )}}{b^{3}} + \frac {\left (b e - c d\right )^{4} \cdot \left (3 b e + 2 c d\right ) \log {\left (x + \frac {- 5 b^{2} c^{3} d^{4} e + 2 b c^{4} d^{5} + \frac {b \left (b e - c d\right )^{4} \cdot \left (3 b e + 2 c d\right )}{c}}{3 b^{5} e^{5} - 10 b^{4} c d e^{4} + 10 b^{3} c^{2} d^{2} e^{3} - 10 b c^{4} d^{4} e + 4 c^{5} d^{5}} \right )}}{b^{3} c^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.06, size = 209, normalized size = 1.77 \begin {gather*} -\frac {{\left (2 \, c d^{5} - 5 \, b d^{4} e\right )} \log \left ({\left | x \right |}\right )}{b^{3}} + \frac {c^{2} x^{2} e^{5} + 10 \, c^{2} d x e^{4} - 4 \, b c x e^{5}}{2 \, c^{4}} + \frac {{\left (2 \, c^{5} d^{5} - 5 \, b c^{4} d^{4} e + 10 \, b^{3} c^{2} d^{2} e^{3} - 10 \, b^{4} c d e^{4} + 3 \, b^{5} e^{5}\right )} \log \left ({\left | c x + b \right |}\right )}{b^{3} c^{4}} - \frac {b c^{4} d^{5} + {\left (2 \, c^{5} d^{5} - 5 \, b c^{4} d^{4} e + 10 \, b^{2} c^{3} d^{3} e^{2} - 10 \, b^{3} c^{2} d^{2} e^{3} + 5 \, b^{4} c d e^{4} - b^{5} e^{5}\right )} x}{{\left (c x + b\right )} b^{2} c^{4} x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.36, size = 218, normalized size = 1.85 \begin {gather*} \frac {e^5\,x^2}{2\,c^2}-\frac {\frac {c^3\,d^5}{b}-\frac {x\,\left (b^5\,e^5-5\,b^4\,c\,d\,e^4+10\,b^3\,c^2\,d^2\,e^3-10\,b^2\,c^3\,d^3\,e^2+5\,b\,c^4\,d^4\,e-2\,c^5\,d^5\right )}{b^2\,c}}{c^4\,x^2+b\,c^3\,x}-x\,\left (\frac {2\,b\,e^5}{c^3}-\frac {5\,d\,e^4}{c^2}\right )+\frac {\ln \left (b+c\,x\right )\,\left (3\,b^5\,e^5-10\,b^4\,c\,d\,e^4+10\,b^3\,c^2\,d^2\,e^3-5\,b\,c^4\,d^4\,e+2\,c^5\,d^5\right )}{b^3\,c^4}+\frac {d^4\,\ln \left (x\right )\,\left (5\,b\,e-2\,c\,d\right )}{b^3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________